
#ifndef _MEMBER_BBUTTONGROUP_H_
#define _MEMBER_BBUTTONGROUP_H_

#include <BSet>
#include <BRect>
#include <BArray>
#include <BButton>
#include <BLayout>
#include <BButtonGroup>

namespace BWE
{
	class member_BButtonGroup : public BObject
	{
		friend class BButtonGroup;
	public:
		member_BButtonGroup(BButtonGroup* buttonGroup);
		~member_BButtonGroup();
		
		void slotButtonChecked(BObject* object, const BValue& value);
		void slotButtonToggled(BObject* object, const BValue& value);

		BButtonGroup*			boss;
		SelectMode				selectMode;
		BArray<BButtonHolder>	buttons;
		BSet<BButton*>			checkedButtons;
	};
}

#endif